package com.tgu.home_action.service;

import com.tgu.home_action.pojo.*;

import javax.validation.constraints.NotNull;
import java.util.List;

public interface FaceService {
    /**
     * 人脸识别
     */
    ResponseData<Face> faceIdentification(@NotNull(message = "imgUrl不能为空") String imgUrl, Volunteer volunteer);

    /**
     * 查询人脸识别记录
     */
    ResponseData<List<Face>> getFaceRecords(Integer caseId);

    /**
     * 确认人脸识别结果
     */
    ResponseData<Object> confirmResult(Integer faceId, Short state, Family family);

    /**
     * 第三方应用进行人脸识别
     */
    ResponseData<Face> clientFaceIdentification(String imgUrl, String appId,String accessKey);

    /**
     * 管理员查询人脸识别记录
     */
    ResponseData<Page<Face>> adminGetFaces(Face face);

    /**
     * 管理员确认人脸识别结果
     */
    ResponseData<Object> adminConfirmResult(Integer faceId, short state);
}
